#include "drivers.h"

/**
 * @brief  Initialize the LED as push pull and light off by 
 *  	   default.
 *
 * @param   none
 * @return  none
 *
 */

void LED_Init(void)
{
	GPIO_InitTypeDef LED_InitStructure;

	RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC,ENABLE);

	LED_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
	LED_InitStructure.GPIO_Speed = GPIO_Speed_10MHz;
	LED_InitStructure.GPIO_Pin = GPIO_Pin_8;

	GPIO_Init(GPIOC,&LED_InitStructure);
	LED_InitStructure.GPIO_Pin = GPIO_Pin_9;
	GPIO_Init(GPIOC,&LED_InitStructure);

	GPIO_ResetBits(GPIOC,GPIO_Pin_8);
	GPIO_ResetBits(GPIOC,GPIO_Pin_9);

}


